package com.joeyzh.table;

import android.view.View;
import android.widget.TableLayout;
import android.widget.TextView;

/**
 * Created by Joey on 2018/12/27.
 *
 * @author by Joey
 */

public interface LogViewModelItemDelegate {

    /**
     * 创建item
     *
     * @param
     */
    void createTableItem(TableLayout parent, TableLogItemEntity entity) throws Exception;

    /**
     * @param entity
     * @return
     */
    TextView getParamTagView(TableLogItemEntity entity);

    <T extends View> T getParamValueView(TableLogItemEntity entity);
}
